using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KhoanTienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: KhoanTienEntity</para>
	/// <para>Description: ClassKhoanTienEntity store data of table KhoanTien</para>
	///</summary>

	[DataContract]
	public partial class KhoanTienEntity{


		private bool _InternalChangedIsNullKhoanTien_ID=true;
		private bool _IsNullKhoanTien_ID=true;
		private bool _InternalChangedIsNullMaKhoanTien=true;
		private bool _IsNullMaKhoanTien=true;
		private bool _InternalChangedIsNullTenKhoanTien=true;
		private bool _IsNullTenKhoanTien=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private int _KhoanTien_ID;
		private string _MaKhoanTien;
		private string _TenKhoanTien;
		private string _GhiChu;
		[DataMember]
		public bool IsNullKhoanTien_ID{
			get{return _IsNullKhoanTien_ID;}
			set{if(!_InternalChangedIsNullKhoanTien_ID)_IsNullKhoanTien_ID=value;}
		}
		[DataMember]
		public bool IsNullMaKhoanTien{
			get{return _IsNullMaKhoanTien;}
			set{if(!_InternalChangedIsNullMaKhoanTien)_IsNullMaKhoanTien=value;}
		}
		[DataMember]
		public bool IsNullTenKhoanTien{
			get{return _IsNullTenKhoanTien;}
			set{if(!_InternalChangedIsNullTenKhoanTien)_IsNullTenKhoanTien=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public int KhoanTien_ID{
			get{return _KhoanTien_ID;}
			set{
				_KhoanTien_ID=value;
				if(_KhoanTien_ID!=null){
					_IsNullKhoanTien_ID=false;
					_InternalChangedIsNullKhoanTien_ID=true;
				}
			}
		}
		[DataMember]
		public string MaKhoanTien{
			get{return _MaKhoanTien;}
			set{
				_MaKhoanTien=value;
				if(_MaKhoanTien!=null){
					_IsNullMaKhoanTien=false;
					_InternalChangedIsNullMaKhoanTien=true;
				}
			}
		}
		[DataMember]
		public string TenKhoanTien{
			get{return _TenKhoanTien;}
			set{
				_TenKhoanTien=value;
				if(_TenKhoanTien!=null){
					_IsNullTenKhoanTien=false;
					_InternalChangedIsNullTenKhoanTien=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KhoanTienEntityBase*****************************************/
	/*****************************************************************************************************/
}

